package cn.com.sd.common.util;

/**
 * 为ajax请求封装对象数据
 * @author zhanghaiwei
 *
 */
public class JSONModel {

	/* 错误码 */
	private String code;
	
	/* 错误信息 */
	private String message;
	
	/* 返回json格式结果数据 */
	private String data;

	public JSONModel(String code, String message, String data) {
		this.code = code;
		this.message = message;
		this.data = data;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

}
